{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-07-09 23:15:39 +0200 (Wed, 09 Jul 2008) $
 * $Rev: 1281 $
 * $Author: gavinspearhead $
 * $Id: viewfiles.tpl 1281 2008-07-09 21:15:39Z gavinspearhead $
 *}

<h3>{$LN_edit_file} - {$filename|escape:htmlall|truncate:$maxstrlen:'...':false:true}</h3>
<div id="hideoverlay">
<img src="{$IMGDIR}/icon_cancel.png" class="buttonlike" alt="Close" title="Close" onclick="javascript:hide_popup('fileeditdiv','editfile');"/>
</div>
<br/>
<table>
<tr>
<td>{$LN_filename}:
</td>
<td>

<input type="hidden" value="{$directory|escape:htmlall}" name="directory" id="directory_editfile"/>
<input type="hidden" value="{$challenge|escape:htmlall}" name="challenge" id="challenge_editfile"/>
<input type="hidden" value="{$filename|escape:htmlall}" name="oldfilename" id="oldfilename_editfile"/>
<input type="text" value="{$filename|escape:htmlall}" name="newfilename" id="newfilename_editfile" size="{$textboxsize}"/>
</td>
</tr>
<tr>
<td>{$LN_rights}:
</td>
<td><input type="text" value="{$rights|escape:htmlall}" id="rights_editfile" name="rights"/>
</td>
</tr>
<tr>
<td>{$LN_group}:
</td>
<td> {html_options name="group" id="group_editfile" options=$groups|escape:htmlall selected=$group|escape }
</td>
</tr>
<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr>
<td>
<input type="submit" value="{$LN_apply}" name="apply" class="submit" onclick="javascript:update_filename();"/>
</td>
<td></td>
</tr>


</table>

